<?php
/**
 * Description of InitController
 *
 * @author meiking
 */
$INCLUDE_PATH = $INCLUDE_PATH ? $INCLUDE_PATH : "./";

require_once($INCLUDE_PATH . 'include/AppInitHeader.php');

require_once ($INCLUDE_PATH . "/include/checklogin.php");
abstract class InitController extends AppInitHeader {

  public function __construct() {
    parent::__construct();

    $this->setHeader();
    $this->setFooter();
  }

  protected function setHeader() {
    Y::$tpl->set("D_R",$INCLUDE_PATH);
    $web['name']  = self::$conf->confValue("web", "name");
    Y::$tpl->set("web",$web);
  }

  protected function setFooter() {
  
  }
}
?>
